import request from '@/utils/request.js'

import {useTokenStore} from '@/stores/token.js'







export const treeShapeListAllService = (params)=>{
    return  request.get('/admin/tree/shape/listAll',{params:params})
}


export const treeShapeListService = (params)=>{
    return  request.get('/admin/tree/shape/listPage',{params:params})
}


export const treeShapeAddService = (data)=>{
    return request.post('/admin/tree/shape/add',data);

}


export const treeShapeDelService = (params)=>{
    return  request.get('/admin/tree/shape/del',{params:params})
}

export const treeShapeEditService = (data)=>{
    return  request.post('/admin/tree/shape/edit',data)
}


